<template>
  <div>
    <div>点击开始进入todolist吧!</div>
    <button @click="start">开始</button>
  </div>
</template>

<script setup lang="ts">
import { useRouter } from "vue-router";
const router = useRouter();
const start = () => {
  router.push({
    name: "todo",
  });
};
</script>

<style scoped></style>
